package com.csdn.leon.util;

public class Constants {
   public final static int COLUMN_COUNT = 2; // 显示列数
	
	public final static int PICTURE_COUNT_PER_LOAD = 30; // 每次加载30张图片
	
	public final static int PICTURE_TOTAL_COUNT = 10000;   //允许加载的最多图片数
	
	public final static int HANDLER_WHAT = 1;
	
	public final static int MESSAGE_DELAY = 200;
	public static final String DESCRIPTOR = "com.umeng.share";
	//加载图片
	public static final String KEY_LOAD_IMAGE = "KEY_LOAD_IMAGE";
	//双击退出
    public static final String KEY_DOUBLE_CLICK_EXIT = "KEY_DOUBLE_CLICK_EXIT";

	// 博客每一项的类型
		public class DEF_BLOG_ITEM_TYPE {
			public static final int TITLE = 1; // 标题
			public static final int SUMMARY = 2; // 摘要
			public static final int CONTENT = 3; // 内容
			public static final int IMG = 4; // 图片
			public static final int BOLD_TITLE = 5; // 加粗标题
			public static final int CODE = 6; // 代码
		}
		// 操作结果类型
		public class DEF_RESULT_CODE {
			public static final int ERROR = 1; // 错误
			public static final int NO_DATA = 2;// 无数据
			public static final int REFRESH = 3;// 刷新
			public static final int LOAD = 4; // 加载
			public static final int FIRST = 5;// 第一次加载
		}
		// 任务类型
		public class DEF_TASK_TYPE {
			public static final String FIRST = "first";
			public static final String NOR_FIRST = "not_first";
			public static final String REFRESH = "REFRESH";
			public static final String LOAD = "LOAD";
		}
	
		// 评论类型
		public class DEF_COMMENT_TYPE {
			public static final int PARENT = 1;
			public static final int CHILD = 2;
		}
		
	/**
	 * 文章类型
	 */
	public class DEF_ARTICLE_TYPE {
		public static final int HOME = 0;		// 首页
		public static final int YIDONG = 1;	// 移动开发
		public static final int WEB = 2;	// Web前端
		public static final int JIAGOU = 3;	// 架构设计
		public static final int CODE = 4;		//编程语言
		public static final int INTERNETE=5;// 互联网
		public static final int SQL = 6; 	// 数据库
		public static final int YUNWEI = 7;	// 系统运维
		public static final int CLOUD = 8;// 云计算
		public static final int YANFA = 9;	//研发管理
		public static final int ZONGHE = 10;	// 综合
	}
}
